<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/inc/sessionCheck.jsp" %>
<%@ taglib uri="/WEB-INF/config/tld/statTag.tld" prefix="stat"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%@ taglib uri="http://ssh.org/selects" prefix="ssh"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
String applicationPath = basePath + "/" + "application";
%>
<html>
	<head>
		<title></title>	   
<link href="<%=path%>/css/jinmu_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<%=path%>/js/util.js"></script>
<script language="javascript" src="<%=path%>/js/SyncCommon.js"></script>
	<script language="javascript" src="<%=path%>/application/js/treeSelect.js"></script>
		<style type="text/css">
			body,td,th {
					font-size: 9pt;
			}
		</style>
	</head>

	<body>
<html:form styleId="yfFeeReimburForm"
			action="staticYfFeeReimbur.do?method=staticYfFeeReimbur">
<input type="hidden" value="" name="str">
    <table cellspacing="0" cellpadding="0" width="98%" align="center"  border="0" class="margtb5">
	    <tr>
	      <td align="left" class="padl5 lan12"><img src="<%=path%>/images/img-11.gif" width="12" height="12">&nbsp;研发辅助 &gt; 项目费用 &gt; 费用合计</td>
	    </tr>
	 </table>
<table cellspacing="3" cellpadding="0" width="98%" align="center"  border="0" class="kuang2 margtb5 hei12">
		
           <tr>
					 <td width="10%" align="right">
						机构：
					</td>
					<td width="15%">
						  <ssh:select propertyName="org" firstShow="Y" dataSource="collection" selectList="${orgSelect}"  type="1" defaultName="${yfFeeReimburForm.org}"/> 
					</td>
					<td width="10%" align="right">
						年度：
					</td>
					<td width="15%">
						  <ssh:select propertyName="year" firstShow="Y" dataSource="collection" selectList="${yearSelect}"  type="1" defaultName="${yfFeeReimburForm.year}"/> 
					</td>
			
					<td width="10%" align="right">
						项目名称：
					</td>
					<td width="15%">
						<html:text property="projectName" />
					</td>

					<td width="10%" align="right">
						报销人：
					</td>
					<td width="15%">

						<input type="text" value="${yfFeeReimburForm.rname2}" name="rname2" id="rname2" onClick="openTree('divTree','user_bm_o','${pageContext.request.contextPath}/common/treeSelect.jsp?iid=operateid&iname=rname2',this)" />
		
							 <input type="hidden" value="" id="operateid" name="operateid" size="80" />
						 		  	<div id="divTree"
			style="position: absolute; background: #FFFFFF; left: 1px; top: 1px; height =300; width: 253px; display: none"></div>
					</td>

					<td width="12%">
						<input class="buttonbg" style="cursor: hand" id="but_query"
							type="button"
							value="查询"
							name="but_query" onClick="query();" />
					</td>
				</tr>
	 </table>
	</td>
		</tr>
	</table>
   
  
	
		<!--  start  -->
 
          <table cellspacing="1" id="theObjTable4"  cellpadding="0" width="100%" align="center"  border="0" style="width:98%;table-layout:fixed;border-collapse:collapse"  >
          		<colgroup>
		<col style="width:5%;"></col>
		<col style="width:20%;"></col>
		<col style="width:8%;"></col>
		<col style="width:35%;"></col>
		<col style="width:10%;"></col>
		<col style="width:10%;"></col>
		<col style="width:15%;"></col>

	   </colgroup>
       <tr height=50><td  style="text-align:center;font-weight:bold;font-size:24px;" colspan="9" align="center" >费用合计</td></tr>

		  <tr style="height:30px;" align="center">
		     <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;"  width="5%">&nbsp;&nbsp;序号&nbsp;&nbsp;</td>
		     <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;"  width="30%">&nbsp;&nbsp;机构&nbsp;&nbsp;</td>
			 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;年度&nbsp;&nbsp;</td>
			 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;项目名称&nbsp;&nbsp;</td>
			 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;报销人&nbsp;&nbsp;</td>
			 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="15%">&nbsp;&nbsp;金额（元）&nbsp;&nbsp;</td>
			 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="15%">&nbsp;&nbsp;报销时间&nbsp;&nbsp;</td>
		 </tr>
          
         <logic:present name="yfFeeReimburList">
             <logic:iterate id="yfFeeReimbur" name="yfFeeReimburList" indexId="indexId">
                <tr align="center" style="height:25px;">
				     <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="5%">&nbsp;&nbsp;${indexId+1}&nbsp;&nbsp;</td>
				     <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;" width="25%">&nbsp;&nbsp;${yfFeeReimbur.org}&nbsp;&nbsp;</td>
					 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;<bean:write name="yfFeeReimbur" property="applyDate" format="yyyy" />&nbsp;&nbsp;</td>
					 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;${yfFeeReimbur.projectName}&nbsp;&nbsp;</td>
					 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="10%">&nbsp;&nbsp;${yfFeeReimbur.rname}&nbsp;&nbsp;</td>
					 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" width="15%">&nbsp;&nbsp;${yfFeeReimbur.applyMoney}&nbsp;&nbsp;</td>
					 <td align="center"  style="text-align:center;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;" width="15%">&nbsp;&nbsp;<bean:write name="yfFeeReimbur" property="applyDate" format="yyyy-MM-dd" />&nbsp;&nbsp;</td>
		         </tr>
              </logic:iterate>
         </logic:present>  
           <logic:present name="totalMoney">
                 <tr align="center" style="height:25px;">
				     <td align="right"  style="text-align:right;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" colspan="5" width="15%">&nbsp;&nbsp;合计&nbsp;&nbsp;</td>
					 <td align="left"  style="text-align:left;vertical-align:middle;color:#000000;font-weight:normal;font-style:normal;text-decoration:none;border-left-style:solid;border-left-width:1px;border-left-color:#000000;border-top-style:solid;border-top-width:1px;border-top-color:#000000;border-right-style:solid;border-right-width:1px;border-right-color:#000000;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#000000;background-color:#FFFFFF;word-break:keep-all;" colspan="2"  width="15%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${totalMoney.applyMoney}&nbsp;&nbsp;</td>
		         </tr>
       </logic:present> 
                         
</table>
 
	<!--  end  -->
	  <br><br><br>

	</html:form>
	</body>
</html>
<script language="javascript">


window.onload = pageLoad;
function pageLoad(){
    mergeCells("theObjTable4",3);
}


function query(){
	document.forms[0].action="staticYfFeeReimbur.do?method=staticYfFeeReimbur";
	document.forms[0].submit();
}

</script>